package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SSeqSPlayerCreditUpdate extends Object implements IMessageBase
    {
        public var updates:Array;
        public const _type:int = 12058;
        public static var _regist:SSeqSPlayerCreditUpdate = new SSeqSPlayerCreditUpdate(true);

        public function SSeqSPlayerCreditUpdate(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SSeqSPlayerCreditUpdate();
        }

        public function __write(param1:SerializeStream) : void
        {
            SeqSPlayerCreditUpdateHelper.write(param1, this.updates);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.updates = SeqSPlayerCreditUpdateHelper.read(param1);
            
        }

    }
}
